﻿<UserControl x:Class="SimStatus.UI.Errors.Error"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"  Background="Black"
             d:DesignHeight="550" d:DesignWidth="450">
    <Grid>
        <Grid Height="100" VerticalAlignment="Top">
            <TextBlock Text="发生了一个错误" Foreground="#FFF0F0F0" FontSize="28" VerticalAlignment="Bottom" Margin="15,0,0,15"/>
        </Grid>
        <StackPanel Margin="15,100,15,100">
            <StackPanel Orientation="Horizontal" Margin="0,0,0,15">
                <TextBlock x:Name="blk_Msg" Text="尝试打开通讯端口" Foreground="#FFb3b3b3" FontSize="18"></TextBlock>
                <Grid Width="20"></Grid>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                <TextBlock Text="请在下方文本框中简单描述错误发生时的情况，以便" Foreground="#FFb3b3b3" FontSize="16" TextWrapping="Wrap"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,0,0,15">
                <TextBlock Text="为修复这个错误提供更多帮助。" Foreground="#FFb3b3b3" FontSize="16" TextWrapping="Wrap"/>
            </StackPanel>
            <TextBox x:Name="txt_content" Height="200" TextWrapping="Wrap" Text="" Background="#FF252526" BorderBrush="Transparent" 
                     BorderThickness="0" Foreground="#FFb3b3b3" FontSize="14" Padding="5"  />

        </StackPanel>
        <Grid Height="100" VerticalAlignment="Bottom" Background="#FF252526">
            <StackPanel Orientation="Horizontal" Height="28" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,15">
                <Button x:Name="Retry" Width="240" Background="#FF252526" BorderBrush="#FFb3b3b3" BorderThickness="1" Foreground="#FFb3b3b3">提交错误信息并关闭程序</Button>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
